﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cardGoodsOut.aspx.cs" Inherits="WebApp.admin.warehouse.cardGoodsOut" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><title>       
</title><link href="../css/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery.min.js"></script>

<script language="javascript" type="text/javascript">

    function checkWarehouseGoods() {

        if ($("#ddlWarehouse").val() == "") {
            alert("请选择库存！");
            $("#ddlWarehouse").focus();
            return false;
        }
        if ($("#txtGoodsCount").val() == "") {
            alert("请输入商品数量！");
            $("#txtGoodsCount").focus();
            return false;
        }
        return true;

    }

</script>

</head>

<body class="body">
    <table class="main" cellpadding="0" cellspacing="0">

        <tr>
            <td class="td_middle_middle">
                <div class="maincontent">
                <div  class="navgater"><img src="../images/module.gif" width="20" height="22" alt=""/>
所在位置：卡券订单明细-商品出库

</div>
                    <form name="form1" id="form1" runat="server">

                        <table cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td class="td_title">
                                    商品名称：</td>
                                <td class="td_content">
                                  <asp:Label ID="lblProName" runat="server"></asp:Label>
                                 </td>
                            </tr>
                              <tr>
                                <td class="td_title">
                                   仓库列表：</td>
                                <td class="td_content">
                                   <asp:DropDownList ID="ddlWarehouse" runat="server" AutoPostBack="true" 
                                        onselectedindexchanged="ddlWarehouse_SelectedIndexChanged"></asp:DropDownList>
                                 </td>
                            </tr>
                              <tr>
                                <td class="td_title">
                                    商品批号：</td>
                                <td class="td_content">
                                   <asp:DropDownList ID="ddlGoodsBatchNo" runat="server"></asp:DropDownList>
                                 </td>
                            </tr>
                              <tr>
                                <td class="td_title">
                                    商品数量：</td>
                                <td class="td_content">
                                     <input name="txtGoodsCount0" runat="server" type="text" id="txtGoodsCount" 
                                        onpaste="return false" style="ime-mode: disabled" 
                                        onkeypress="if((event.keyCode&lt;48 || event.keyCode>57) &amp;&amp; event.keyCode!=46 || /\.\d\d$/.test(value))event.returnValue=false" /></td>
                            </tr>
                              <tr>
                                <td class="td_title">
                                    商品出库描述：</td>
                                <td class="td_content">
                                  <asp:Label ID="lblOutDescription" runat="server"></asp:Label>
                                  </td>
                            </tr>
                              <tr>
                                <td class="td_title">
                                    出库数量：</td>
                                <td class="td_content">
                                     <input name="txtGoodsCount" runat="server" type="text" id="txtGoodsOutCount" 
                                         onpaste="return false" style="ime-mode: disabled" 
                                         onkeypress="if((event.keyCode&lt;48 || event.keyCode>57) &amp;&amp; event.keyCode!=46 || /\.\d\d$/.test(value))event.returnValue=false" />
                                 </td>
                            </tr>
                              <tr>
                                <td class="td_title">
                                    备注：</td>
                                <td class="td_content">
                                     <asp:TextBox ID="txtRemark" runat="server" Width="400px"></asp:TextBox>
                                 </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                   <asp:Button ID="btnOK" runat="server" Text="确  定" CssClass="formButton" OnClick="btnSubmit_Click"
                                        OnClientClick="return checkWarehouseGoods();" />&nbsp;&nbsp;&nbsp;&nbsp;
                               
                                    <input id="btnBack" type="button" class="formButton" value=" 返  回 " onclick="window.opener.document.location.reload();window.opener=null;window.open('','_self');window.close();" /></td>
                            </tr>
                        </table>
                    </form>
                    </div>

            </td>

        </tr>

    </table>
</body>
</html>
